package com.studentsystem.dataobject;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * (Grade)实体类
 */
public class GradeDO implements Serializable {
    private static final long serialVersionUID = -20536001801038661L;
    /**
     * 主键id
     */
    private Long id;
    /**
     * 学生id
     */
    private String studentNumber;
    /**
     * 课程名字
     */
    private String courseName;
    /**
     * 课程分数
     */
    private Integer score;

    /**
     * 老师名字
     */
    private String teacherName;

    /**
     * 学分
     */
    private Double credit;

    /**
     * 年份
     */
    private Integer year;

    /**
     * 班级
     */
    private String classs;

    /**
     * 学期(0表示上学期，1表示下学期)
     */
    private Integer term;

    /**
     * 绩点
     */
    private Double gpa;

    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
    /**
     * 最后一次修改时间
     */
    private LocalDateTime modifiedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }

    public Double getGpa() {
        return gpa;
    }

    public void setGpa(Double gpa) {
        this.gpa = gpa;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public String getClasss() {
        return classs;
    }

    public void setClasss(String classs) {
        this.classs = classs;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public LocalDateTime getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(LocalDateTime modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}